<template>
  <div class="workshops_container">
      <!-- <dv-loading v-if="loading"></dv-loading> -->
      <list-header
      :type="type"
      :title="title"
      icon="calendar-alt"
      searchplaceholder="请输入设备名称/编号"
      selectplaceholder="请选择安装地点"
      @on-search="SearchMthods"
      @on-index="resetMethods"
       :dateSel="true"
    />
      <div class="workshops_main">
        <c-tbale 
        @delHandle="delHandle"
        :columns="columns"
        :tableData="tableData"
        :tableHeight="tableHeight"
        :viewHandle="true"/>
      </div>
  </div>
</template>

<script>
import listHeader from "@/components/listHeader/index";
import cTbale from "../../../components/tablePage/tablePage";
import minix from "../../../mixins/table";
export default {
  components: {
    listHeader,
    cTbale,
  },
  mixins: [minix],
  data(){
    return{
      type:"schedulingParameter",
      title:"调度台账",
      indexurl:"schedulingParameterPage",
      delurl: "schedulingParameterDel",
      columns: [
        { text: "台账名称", prop: "TZ_NAME", width: "15%" },
        { text: "台账班次", prop: "TZ_THIFT", width: "15%" },
        { text: "创建人", prop: "CREATE_USER", width: "14%" },
        { text: "创建时间", prop: "createTime", width: "14%" },
        { text: "台账日期", prop: "TZ_DATE", width: "14%" },
        { text: "备注", prop: "REMARK", width: "10%" },
      ],
    }
  },
};
</script>

<style>
</style>